import java.util.Scanner;
public class Exam3_4{
	public static void main(String args[ ]) {
		int number = 0;
		System.out.println("输入正整shu(回车确定)");
		Scanner reader = new Scanner(System.in);
		number = reader.nextInt();
		switch (number) {
			case 9 :
			case 131 :
			case 12 : System.out.println(number+"是三等jiang");
				  break;
			case 209 :
			case 596 :
			case 27 :System.out.println(number+"是二等jiang");
				 break;
			case 875 :
			case 316 :
			case 59 :System.out.println(number+"是一等jiang");
				 break;
			default :System.out.println(number+"未中jiang");
		}
	}
}

